package com.SmartCampus.system.model.dto.attendance;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户创建请求
 *
 * @author wangliang
 */
@Data
public class AttendanceAddRequest implements Serializable {

    /**
     * 课程id
     */
    @NotNull(message = "课程id不能为空")
    @ApiModelProperty(value = "课程id", required = true)
    private Long courseId;

    /**
     * 考勤状态
     */
    @NotNull(message = "考勤状态不能为空")
    @ApiModelProperty(value = "考勤状态", required = true)
    private String status;
    private static final long serialVersionUID = 1L;
}